//
//  ALOneLeftModel.m
//  Ummy.G
//
//  Created by 安林 on 16/10/2.
//  Copyright © 2016年 安林. All rights reserved.
//

#import "ALOneLeftModel.h"

@implementation ALOneLeftModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        _name = dict[@"name"];
        //数组通过下标来取值
       _subnames = dict[@"list"];
    }
    return self;
}
+(instancetype)oneLeftWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}
@end
